package com.shopcart.domain;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="s_store")
public class Store {

	@Id
	private String id;
	@Column(name="role_code")
	private String roleCode;
	@Column(name="store_type")
	private Integer storeType;
	@Column(name="account")
	private String account;
	@Column(name="password")
	private String password;
	@Column(name="name")
	private String name;
	@Column(name="area_code")
	private String areaCode;
	@Column(name="cate_code")
	private String cateCode;
	@Column(name="logo")
	private String logo;
	@Column(name="imgs")
	private String imgs;
	@Column(name="address")
	private String address;
	@Column(name="lat")
	private String lat;
	@Column(name="lng")
	private String lng;
	@Column(name="phone")
	private String phone;
	@Column(name="avg_score")
	private BigDecimal avgScore;
	@Column(name="avg_price")
	private BigDecimal avgPrice;
	@Column(name="info")
	private String info;
	@Column(name="detail")
	private String detail;
	@Column(name="sort")
	private Integer sort;
	@Column(name="is_recommend")
	private Integer isRecommend;
	@Column(name="closed")
	private Integer closed;
	@Column(name="is_online")
	private Integer isOnline;
	@Column(name="wine_left")
	private BigDecimal wineLeft;
	@Column(name="wine_rate")
	private Integer wineRate;
	@Column(name="wine_unit")
	private BigDecimal wineUnit;
	@Column(name="wine_begin")
	private Integer wineBegin;
	@Column(name="create_time")
	private Date createTime;


	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getRoleCode(){
		return roleCode;
	}
	public void setRoleCode(String roleCode){
		this.roleCode = roleCode;
	}
	public Integer getStoreType(){
		return storeType;
	}
	public void setStoreType(Integer storeType){
		this.storeType = storeType;
	}
	public String getAccount(){
		return account;
	}
	public void setAccount(String account){
		this.account = account;
	}
	public String getPassword(){
		return password;
	}
	public void setPassword(String password){
		this.password = password;
	}
	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getAreaCode(){
		return areaCode;
	}
	public void setAreaCode(String areaCode){
		this.areaCode = areaCode;
	}
	public String getCateCode(){
		return cateCode;
	}
	public void setCateCode(String cateCode){
		this.cateCode = cateCode;
	}
	public String getLogo(){
		return logo;
	}
	public void setLogo(String logo){
		this.logo = logo;
	}
	public String getImgs(){
		return imgs;
	}
	public void setImgs(String imgs){
		this.imgs = imgs;
	}
	public String getAddress(){
		return address;
	}
	public void setAddress(String address){
		this.address = address;
	}
	public String getLat(){
		return lat;
	}
	public void setLat(String lat){
		this.lat = lat;
	}
	public String getLng(){
		return lng;
	}
	public void setLng(String lng){
		this.lng = lng;
	}
	public String getPhone(){
		return phone;
	}
	public void setPhone(String phone){
		this.phone = phone;
	}
	public BigDecimal getAvgScore(){
		return avgScore;
	}
	public void setAvgScore(BigDecimal avgScore){
		this.avgScore = avgScore;
	}
	public BigDecimal getAvgPrice(){
		return avgPrice;
	}
	public void setAvgPrice(BigDecimal avgPrice){
		this.avgPrice = avgPrice;
	}
	public String getInfo(){
		return info;
	}
	public void setInfo(String info){
		this.info = info;
	}
	public String getDetail(){
		return detail;
	}
	public void setDetail(String detail){
		this.detail = detail;
	}
	public Integer getSort(){
		return sort;
	}
	public void setSort(Integer sort){
		this.sort = sort;
	}
	public Integer getIsRecommend(){
		return isRecommend;
	}
	public void setIsRecommend(Integer isRecommend){
		this.isRecommend = isRecommend;
	}
	public Integer getClosed(){
		return closed;
	}
	public void setClosed(Integer closed){
		this.closed = closed;
	}
	public Integer getIsOnline(){
		return isOnline;
	}
	public void setIsOnline(Integer isOnline){
		this.isOnline = isOnline;
	}
	public BigDecimal getWineLeft(){
		return wineLeft;
	}
	public void setWineLeft(BigDecimal wineLeft){
		this.wineLeft = wineLeft;
	}
	public Integer getWineRate(){
		return wineRate;
	}
	public void setWineRate(Integer wineRate){
		this.wineRate = wineRate;
	}
	public BigDecimal getWineUnit(){
		return wineUnit;
	}
	public void setWineUnit(BigDecimal wineUnit){
		this.wineUnit = wineUnit;
	}
	public Date getCreateTime(){
		return createTime;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}
	public Integer getWineBegin() {
		return wineBegin;
	}
	public void setWineBegin(Integer wineBegin) {
		this.wineBegin = wineBegin;
	}

	
}
